//
//  Labs_OC_TaggedPointer_DemoVC.m
//  APSwift
//
//  Created by jianbo.pei on 2023/8/19.
//

#import "Labs_OC_TaggedPointer_DemoVC.h"

@interface Labs_OC_TaggedPointer_DemoVC ()

@end

@implementation Labs_OC_TaggedPointer_DemoVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    NSNumber *number1 = @1;
    NSNumber *number2 = @2;
    NSNumber *number3 = @3;
    NSNumber *number4 = @10;
    NSNumber *number5 = @11;
    NSNumber *number6 = @12;
    ///
    /**
     在最新的`Xcode`中，`number`的值过大，会报如下错误
     error: Integer literal is too large to be represented in any integer type
            整数字面量太大，无法用任何整数类型表示
     */
    NSNumber *number7 = @(0xFFFFFFFFFFFFF);
    NSNumber *number8 = @(88888888888888888);

    NSLog(@"\n\n");
    NSLog(@"number1: %p, %@, %@", number1, number1, number1.class);
    NSLog(@"number2: %p, %@, %@", number2, number2, number2.class);
    NSLog(@"number3: %p, %@, %@", number3, number3, number3.class);
    NSLog(@"number4: %p, %@, %@", number4, number4, number4.class);
    NSLog(@"number5: %p, %@, %@", number5, number5, number5.class);
    NSLog(@"number6: %p, %@, %@", number6, number6, number6.class);
    NSLog(@"number7: %p, %@, %@", number7, number7, number7.class);
    NSLog(@"number8: %p, %@, %@", number8, number8, number8.class);
    NSLog(@"\n\nend");
}

@end
